import config from '@/utils/config'
import { generateRequest } from '@/utils/request'
const { apiUrlPrefix } = config

/** 商品分类列表 */
export const cyCategoryListApi = generateRequest(`${apiUrlPrefix}/pcs/cyCategory/list`)

/** 新增商品分类 */
export const createCyCategoryApi = generateRequest(`${apiUrlPrefix}/pcs/cyCategory/save`)

/** 商品分类修改 */
export const updatecyCategoryApi = generateRequest(`${apiUrlPrefix}/pcs/cyCategory/update`, 'put')
